$FONT_TITLE = "Ubuntu:size=10#Left#XFT"
$FONT = "Ubuntu:size=10#Left#XFT"

Version = "2"

Require {
  Templates = "True"
}

Background {
  Texture = "LinesHorz 10% #dedede #e3e3e3"
}


ColorMaps {
  ColorMap = "Selected" {
    Map = "#624141" { To = "$COLOR_SELECTED" }
  }
  ColorMap = "Focused" {
    Map = "#624141" { To = "$COLOR_FOCUSED" }
    Map = "#FFFF00" { To = "$COLOR_FOCUSED" }
    Map = "#0000FF" { To = "$COLOR_FOCUSEDTEXT" }
    Map = "#9C6868" { To = "$COLOR_FOCUSED_SHADE_W" }
    Map = "#312020" { To = "$COLOR_FOCUSED_SHADE_K" }
  }
  ColorMap = "Unfocused" {
    Map = "#624141" { To = "$COLOR_UNFOCUSED" }
    Map = "#FFFF00" { To = "$COLOR_UNFOCUSED" }
    Map = "#0000FF" { To = "$COLOR_UNFOCUSEDTEXT" }
    Map = "#9C6868" { To = "$COLOR_UNFOCUSED_SHADE_W" }
    Map = "#312020" { To = "$COLOR_UNFOCUSED_SHADE_K" }

  }
  ColorMap = "Hoover" {
    Map = "#624141" { To = "$COLOR_HOOVER" }
    Map = "#FFFF00" { To = "$COLOR_FOCUSED" }
    Map = "#0000FF" { To = "$COLOR_FOCUSEDTEXT" }
    Map = "#FFFFFF" { To = "$COLOR_FOCUSEDTEXT" }
  }
  ColorMap = "Pressed" {
    Map = "#624141" { To = "$COLOR_PRESSED" }
    Map = "#FFFF00" { To = "$COLOR_FOCUSED" }
    Map = "#0000FF" { To = "$COLOR_FOCUSEDTEXT" }
    Map = "#FFFFFF" { To = "$COLOR_FOCUSEDTEXT" }
  }
}

Define = "Border" {
  Focused {
    TopLeft = "ImageMapped Focused pictures/top_left.xpm"
    Top = "ImageMapped Focused pictures/top_border.xpm"
    TopRight = "ImageMapped Focused pictures/top_right.xpm"
    Left = "ImageMapped Focused pictures/leftright_border.xpm"
    Right = "ImageMapped Focused pictures/leftright_border.xpm"
    BottomLeft = "ImageMapped Focused pictures/bottom_left.xpm"
    Bottom = "ImageMapped Focused pictures/bottom_border.xpm"
    BottomRight = "ImageMapped Focused pictures/bottom_right.xpm"
  }
  Unfocused{
    TopLeft = "ImageMapped Unfocused pictures/top_left.xpm"
    Top = "ImageMapped Unfocused pictures/top_border.xpm"
    TopRight = "ImageMapped Unfocused pictures/top_right.xpm"
    Left = "ImageMapped Unfocused pictures/leftright_border.xpm"
    Right = "ImageMapped Unfocused pictures/leftright_border.xpm"
    BottomLeft = "ImageMapped Unfocused pictures/bottom_left.xpm"
    Bottom = "ImageMapped Unfocused pictures/bottom_border.xpm"
    BottomRight = "ImageMapped Unfocused pictures/bottom_right.xpm"
  }
}

Define = "EmptyBorder" {
  Focused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
  Unfocused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
}

Define = "EmptyDecor" {
  Height = "0"
  Focused = "Empty"
  Unfocused = "Empty"

  Tab{
    Focused = "Empty"
    FocusedSelected = "Empty"
    Unfocused = "Empty"
    UnfocusedSelected = "Empty"
  }

  Separator {
    Focused = "Empty"
    Unfocused = "Empty"
  }

  Font {
    Focused = "$FONT"
  }

  FontColor {
    Focused = "#000000"
    FocusedSelected = "#000000"
    Unfocused = "#000000"
    UnfocusedSelected = "#000000"
  }
}

Define = "Titlebarless" {
  @EmptyDecor
  Border{
    @Border
    Focused {
      TopLeft = "Image pictures/bottom_left.xpm"
      Top = "Image pictures/bottom_border.xpm"
      TopRight = "Image pictures/bottom_right.xpm"
    }
    Unfocused {
      TopLeft = "Image pictures/bottom_left.xpm"
      Top = "Image pictures/bottom_border.xpm"
      TopRight = "Image pictures/bottom_right.xpm"
    }
  }
}

Decor = "Default"{
  Height = "23"
  Pad = "0 0 8 0"

  Focused = "ImageMapped Focused pictures/title.xpm"
  Unfocused = "ImageMapped Unfocused pictures/title.xpm"

  Tab {
    Focused = "ImageMapped Focused pictures/title.xpm"
    FocusedSelected = "ImageMapped Focused pictures/title.xpm"
    Unfocused = "ImageMapped Unfocused pictures/title.xpm"
    UnfocusedSelected = "ImageMapped Unfocused pictures/title.xpm"
  }
  Separator {
    Focused = "ImageMapped Focused pictures/tab_separator.xpm"
    Unfocused = "ImageMapped Unfocused pictures/tab_separator.xpm"
  }
  Font  {
    Focused = "$FONT_TITLE"
  }
  FontColor {
    Focused = "$COLOR_FOCUSEDTEXT"
    FocusedSelected = "$COLOR_FOCUSEDTEXT"
    Unfocused = "$COLOR_UNFOCUSEDTEXT"
    UnfocusedSelected = "$COLOR_UNFOCUSEDTEXT"
  }

  Buttons{
    Right = "Close" {
      Focused = "ImageMapped Focused pictures/close.xpm"
      Unfocused = "ImageMapped Unfocused pictures/close.xpm"
      Hover = "ImageMapped Hoover pictures/close_h.xpm"
      Pressed = "ImageMapped Pressed pictures/close_p.xpm"
      Button = "1" { Actions = "Close" }
      Button = "3" { Actions = "Kill" }
    }

    Right "Shade" {
      Focused = "ImageMapped Focused pictures/shade.xpm"
      Unfocused = "ImageMapped Unfocused pictures/shade.xpm"
      Hover = "ImageMapped Hoover pictures/shade_h.xpm"
      Pressed = "ImageMapped Pressed pictures/shade_p.xpm"
      Button = "1" { Actions = "Toggle Shaded" }
    }

    Right = "Max" {
      Focused = "ImageMapped Focused pictures/max.xpm"
      Unfocused = "ImageMapped Unfocused pictures/max.xpm"
      Hover = "ImageMapped Hoover pictures/max_h.xpm"
      Pressed = "ImageMapped Pressed pictures/max_p.xpm"
      Button = "1" { Actions = "Toggle Maximized 1 1" }
    }

    Right = "Iconify" {
      Focused = "ImageMapped Focused pictures/iconify.xpm"
      Unfocused = "ImageMapped Unfocused pictures/iconify.xpm"
      Hover = "ImageMapped Hoover pictures/iconify_h.xpm"
      Pressed = "ImageMapped Pressed pictures/iconify_p.xpm"
      Button = "1"{Actions = "Set Iconified"}
    }

  }

  Border {
    @Border
  }
}

Decor = "Menu" {
  Height = "23"
  Pad = "2 4 6 8"
  Focused = "ImageMapped Focused pictures/menu_title.xpm"
  Unfocused = "ImageMapped Unfocused pictures/menu_title.xpm"
  Tab{
    Focused = "ImageMapped Focused pictures/menu_title.xpm"
    FocusedSelected = "ImageMapped Focused pictures/menu_title.xpm"
    Unfocused = "ImageMapped Unfocused pictures/menu_title.xpm"
    UnfocusedSelected = "ImageMapped Unfocused pictures/menu_title.xpm"
  }
  Separator {
    Focused = "ImageMapped Focused pictures/top_left.xpm"
    Unfocused = "ImageMapped Unfocused pictures/top_left.xpm"
  }
  Font {
    Focused = "$FONT"
  }
  FontColor {
    Focused = "$COLOR_FOCUSEDTEXT"
    FocusedSelected = "$COLOR_FOCUSEDTEXT"
    Unfocused = "$COLOR_UNFOCUSEDTEXT"
    UnfocusedSelected = "$COLOR_UNFOCUSEDTEXT"
  }

  Border {
    Focused{
      TopLeft = "ImageMapped Focused pictures/menu_top_left.xpm"
      Top = "ImageMapped Focused pictures/menu_top.xpm"
      TopRight = "ImageMapped Focused pictures/menu_top_right.xpm"
      Left = "ImageMapped Focused pictures/menu_left.xpm"
      Right = "ImageMapped Focused pictures/menu_right.xpm"
      BottomLeft = "ImageMapped Focused pictures/menu_bottom_left.xpm"
      Bottom = "ImageMapped Focused pictures/menu_bottom.xpm"
      BottomRight = "ImageMapped Focused pictures/menu_bottom_right.xpm"
    }
    Unfocused {
      TopLeft = "ImageMapped Unfocused pictures/menu_top_left.xpm"
      Top = "ImageMapped Unfocused pictures/menu_top.xpm"
      TopRight = "ImageMapped Unfocused pictures/menu_top_right.xpm"
      Left = "ImageMapped Unfocused pictures/menu_left.xpm"
      Right = "ImageMapped Unfocused pictures/menu_right.xpm"
      BottomLeft = "ImageMapped Unfocused pictures/menu_bottom_left.xpm"
      Bottom = "ImageMapped Unfocused pictures/menu_bottom.xpm"
      BottomRight = "ImageMapped Unfocused pictures/menu_bottom_right.xpm"
    }
  }
}

Decor = "Titlebarless"{
  @Titlebarless
}

Decor = "WorkspaceIndicator" {
  @Titlebarless
}

Decor = "Statuswindow"{
  @Titlebarless
}

Decor = "InputDialog"{
  @Titlebarless
}

Menu{
  Pad = "3 0 4 8"

  Focused {
    Font = "$FONT"
    Background = "Solid $COLOR_FOCUSED"
    Item = "Empty"
    Text = "$COLOR_FOCUSEDTEXT"
    Separator = "ImageMapped Focused pictures/menuline.xpm#Scaled"
    arrow = "ImageMapped Focused pictures/arrow.xpm"
  }

  Unfocused {
    Font = "$FONT"
    Background = "Solid $COLOR_UNFOCUSED"
    Item = "Empty"
    Text = "$COLOR_UNFOCUSEDTEXT"
    Separator = "ImageMapped Unfocused pictures/menuline.xpm#Scaled"
    arrow = "ImageMapped Unfocused pictures/arrow.xpm"
  }

  Selected {
    Font = "$FONT"
    Background = "Solid #000000"
    Item = "Empty"
    Text = "#ffffff"
    arrow = "Image pictures/arrow.xpm"
  }
}

CmdDialog {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 10 1 3"
}

Dialog {
  Background = "Solid #624141"
  TitleFont = "$FONT_TITLE"
  TitleColor = "#ffffff"
  Font = "$FONT"
  Text = "#cccccc"
  Pad = "4 4 4 4"

  Button {
    Font = "$FONT"
    Text = "#ffffff"

    Focused = "SolidRaised #624141 #9C6868 #312020 2 2"
    Unfocused = "SolidRaised #624141 #9C6868 #312020 2 2"
    Hoover = "SolidRaised #415D62 #68949C #202E31 2 2"
    Pressed = "SolidRaised #624141 #9C6868 #312020 2 2"
  }
}

Harbour {
  Texture = "Solid #624141"
}

WorkspaceIndicator {
  Font = "$FONT_TITLE"
  Background = "Solid #ffffff"
  Workspace = "Solid #415D62"
  WorkspaceActive = "Solid #624141"
  Text = "#000000"
  EdgePadding = "2"
  WorkspacePadding = "2"
}

Status {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "4 2 10 30"
}
